package com.yyq.adms.cgjj.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BaseEntity;

@Entity
@Table(name = "reportintroduce")
public class ReportIntroduce extends BaseEntity  implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	private String reportName;  //成果名称
	private String finishedDep;  //完成单位
	private String majorType;  //专业类型
	private String technologyLevel;  //技术水平
	private Date checkDate;  //鉴定/验收时间
	private String checkDep;  //鉴定/验收单位
	private String projectReward;  //科技奖/工程奖
	private String remark;  //备注
	private String belongPlateFormID;  //所属平台
	private String sentDep;  //报送单位
//	private int isGlobal;  //是否全局
//	private int isHavePatents;  //是否有附件
	private int isEnabled;  //
//	private int sourceID;	
	/**
	 * 所属年份，不需要加入数据库
	 */
	private String belongYear;

	/**
	 * 批注
	 */
	private String endorse;
	
	
	/**
	 * 单位名称
	 */
	private String sentDepName;
	
	@Transient
	public String getBelongYear() {
		return belongYear;
	}

	public void setBelongYear(String belongYear) {
		this.belongYear = belongYear;
	}

	@Column(name = "reportname")
	public String getReportName() {
		return reportName;
	}
	public void setReportName(String reportName) {
		this.reportName = reportName;
	}
	@Column(name = "finisheddep")
	public String getFinishedDep() {
		return finishedDep;
	}
	public void setFinishedDep(String finishedDep) {
		this.finishedDep = finishedDep;
	}
	/*
	 * <select id="po.majorType" name="po.majorType">
		<option value="1" <s:if test="po.majorType==1">selected="selected"</s:if>>路桥施工技术</option>
		<option value="2" <s:if test="po.majorType==2">selected="selected"</s:if>>地下工程施工技术</option>
		<option value="3" <s:if test="po.majorType==3">selected="selected"</s:if>>工程应用技术</option>
		<option value="4" <s:if test="po.majorType==4">selected="selected"</s:if>>隧道施工技术</option>
		<option value="5" <s:if test="po.majorType==5">selected="selected"</s:if>>水工施工技术</option>
		<option value="6" <s:if test="po.majorType==6">selected="selected"</s:if>>软科学</option>
		<option value="7" <s:if test="po.majorType==7">selected="selected"</s:if>>水工设计技术</option>
		<option value="8" <s:if test="po.majorType==8">selected="selected"</s:if>>水工勘察技术</option>
		</select>
	 */
	@Column(name = "majortype")
	public String getMajorType() {
		return majorType;
	}
	public void setMajorType(String majorType) {
		this.majorType = majorType;
	}
	/*
	 *                             0-->未设定
	 *  <s:if test="technologyLevel==1">国内领先</s:if>
    	<s:elseif test="technologyLevel==2">国内先进</s:elseif>
    	<s:elseif test="technologyLevel==3">国际领先</s:elseif>
    	<s:elseif test="technologyLevel==4">国际先进</s:elseif>  
	 */
	@Column(name = "technologylevel")
	public String getTechnologyLevel() {
		return technologyLevel;
	}
	public void setTechnologyLevel(String technologyLevel) {
		this.technologyLevel = technologyLevel;
	}
	
	@Transient
	public String getSentDep() {
		return sentDep;
	}

	public void setSentDep(String sentDep) {
		this.sentDep = sentDep;
	}

	@Column(name = "checkdate")
	public Date getCheckDate() {
		return checkDate;
	}
	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}
	@Column(name = "checkdep")
	public String getCheckDep() {
		return checkDep;
	}
	public void setCheckDep(String checkDep) {
		this.checkDep = checkDep;
	}
	@Column(name = "projectreward")
	public String getProjectReward() {
		return projectReward;
	}
	public void setProjectReward(String projectReward) {
		this.projectReward = projectReward;
	}
	@Column(name = "remark")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name = "belongplateformid")
	public String getBelongPlateFormID() {
		return belongPlateFormID;
	}
	public void setBelongPlateFormID(String belongPlateFormID) {
		this.belongPlateFormID = belongPlateFormID;
	}
	
	@Column(name = "isenabled")
	public int getIsEnabled() {
		return isEnabled;
	}
	public void setIsEnabled(int isEnabled) {
		this.isEnabled = isEnabled;
	}
	
	@Column(name="endorse")
	public String getEndorse() {
		return endorse;
	}

	public void setEndorse(String endorse) {
		this.endorse = endorse;
	}

	@Column(name="sentdepname")
	public String getSentDepName() {
		return sentDepName;
	}

	public void setSentDepName(String sentDepName) {
		this.sentDepName = sentDepName;
	}
		
}
